import request from '@/utils/request'

export function getUnitQuery(data) {
  return request({
    url: '/goods/unit/query',
    method: 'post',
    data,
  })
}

export function getUnitEdit(data) {
  return request({
    url: '/goods/unit/edit',
    method: 'post',
    data,
  })
}

export function getUnitAdd(data) {
  return request({
    url: '/goods/unit/add',
    method: 'post',
    data,
  })
}

export function getUnitDel(data) {
  return request({
    url: '/goods/unit/del',
    method: 'post',
    data,
  })
}

export function getTagQuery(data) {
  return request({
    url: '/goods/tag/query',
    method: 'post',
    data,
  })
}

export function getTagEdit(data) {
  return request({
    url: '/goods/tag/edit',
    method: 'post',
    data,
  })
}

export function getTagAdd(data) {
  return request({
    url: '/goods/tag/add',
    method: 'post',
    data,
  })
}

export function getTagDel(data) {
  return request({
    url: '/goods/tag/del',
    method: 'post',
    data,
  })
}


